<?php
class NeoFunctionSession {
    static function login($email_address, $password){
		$rs = new Result();
		if(!NeoSession::isLogin()){
			if(NeoSession::login($email_address, $password)){
				$rs->return = true;
			}else{
				$rs->addError(14 ,"login fail");
			}
		}else{
		}
		return $rs;
	}
}
?>